package request

type TmallFuwuHomedecorationWorkerlevelListRequest struct {
	/*
	   当前页数 defalutValue��1    */
	PageIndex *int64 `json:"page_index,omitempty" required:"false" `
	/*
	   每页大小，不传默认只查20条，最大不能超过500 defalutValue��20    */
	PageSize *int64 `json:"page_size,omitempty" required:"false" `
}

func (s *TmallFuwuHomedecorationWorkerlevelListRequest) SetPageIndex(v int64) *TmallFuwuHomedecorationWorkerlevelListRequest {
	s.PageIndex = &v
	return s
}
func (s *TmallFuwuHomedecorationWorkerlevelListRequest) SetPageSize(v int64) *TmallFuwuHomedecorationWorkerlevelListRequest {
	s.PageSize = &v
	return s
}

func (req *TmallFuwuHomedecorationWorkerlevelListRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.PageIndex != nil {
		paramMap["page_index"] = *req.PageIndex
	}
	if req.PageSize != nil {
		paramMap["page_size"] = *req.PageSize
	}
	return paramMap
}

func (req *TmallFuwuHomedecorationWorkerlevelListRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
